package com.fengwk.user.face.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;

import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;

/**
 * 已登录状态注解
 * 
 * @author fengwk
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
@Documented
@Order(Ordered.HIGHEST_PRECEDENCE)
@ApiImplicitParams({
	@ApiImplicitParam(name = "channel", value = "通道", required = true,  dataTypeClass = String.class, paramType = "query"),
	@ApiImplicitParam(name = "token", value = "令牌", required = true, dataTypeClass = String.class, paramType = "query")
})
public @interface Logined {

}
